projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c253aa
)
Fix 64-bit build with a PRIu64.
author
Ewan Mellor
<ewan@xensource.com>
Fri, 15 Dec 2006 01:42:31 +0000
(
01:42
+0000)
committer
Ewan Mellor
<ewan@xensource.com>
Fri, 15 Dec 2006 01:42:31 +0000
(
01:42
+0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/blktap/drivers/block-qcow.c
patch
|
blob
|
history
diff --git
a/tools/blktap/drivers/block-qcow.c
b/tools/blktap/drivers/block-qcow.c
index 04a1a16e7818037460815974d6c225fb41e2c182..48814479d654a45999405d335701bad80acc996b 100644
(file)
--- a/
tools/blktap/drivers/block-qcow.c
+++ b/
tools/blktap/drivers/block-qcow.c
@@
-1329,7
+1329,7
@@
int qcow_create(const char *filename, uint64_t total_size,
/*Filesize is length + l1_size * (1 << s->l2_bits) + (size*512)*/
total_length = length + (l1_size * (1 << 9)) + (size * 512);
qtruncate(fd, total_length, 0);
- printf("File truncated to length %
llu
\n",total_length);
+ printf("File truncated to length %
"PRIu64"
\n",total_length);
}
exthdr.flags = cpu_to_be32(flags);